package com.liyi.letter.system.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.time.LocalDateTime;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 *
 * @TableName employee_role
 */
@EqualsAndHashCode(callSuper = true)
@TableName(value ="employee_role")
@Data
public class EmployeeRole extends BaseEntity {

    /**
     *
     */
    @TableField(value = "employee_id")
    private Long employeeId;

    /**
     *
     */
    @TableField(value = "role_id")
    private Long roleId;

    /**
     *
     */
    @TableField(value = "role_name")
    private String roleName;

    /**
     *
     */

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;

}
